package uk.co.q3c.deplan.server.domain;

/**
 * Implementors of this interface provide a means to compare one instance of
 * their class with another, matching for things such as correct number of
 * children with the correct names. Used primarily for testing or verifying that
 * a database is correctly copied or upgraded
 * 
 * @author DSowerby 20 Oct 2008
 * 
 */
public interface DomainMatching {
	public boolean matches(Object otherObject, DomainMatchingLog log);

}
